package com.PQLoad
{
	import flash.events.Event;
	import flash.net.URLRequest;

	public class XMLLoader extends Load
	{
		private var _data:XML;
		public function XMLLoader(_url:String, param:Object=null)
		{
			super(_url, param);
			urlload.load(new URLRequest(url));
			_type=2;
		}
		public function get Data():XML{
			return _data;
		}
		override protected function loaded(e:Event):void{
			_data=new XML(e.target.data);
			if(onComplete)	onComplete(_data);
			destroy();
		}
	}
}